Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Write( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TcpBase Dim buffer() As Byte Dim offset As Integer Dim count As Integer instance.Write(buffer, offset, count) |
Parameters
- buffer
- Byte array of data to send.
- offset
- The position in the data buffer at which to begin sending data.
- count
- The number of bytes to send.
This method synchronously sends data to the remote host over an existing connection. It will block until a buffer is available to accept the data or the SendTimeout value has expired.
Target Platforms: Microsoft .NET Framework 2.0